#include "stdafx.h"
#include "net/SocketNotification.hpp"

NET_NAMESPACE_BEGIN


CSocketNotification::CSocketNotification(CSocketReactor* pReactor) : m_pReactor(pReactor)
{
}

CSocketNotification::~CSocketNotification()
{
}

CSocketReactor& CSocketNotification::source() const
{
	return *m_pReactor;
}

CSocket CSocketNotification::socket() const
{
	return m_socket;
}

void CSocketNotification::setSocket(const CSocket& socket)
{
	m_socket = socket;
}


CReadableNotification::CReadableNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CReadableNotification::~CReadableNotification()
{
}


CWritableNotification::CWritableNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CWritableNotification::~CWritableNotification()
{
}


CErrorNotification::CErrorNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CErrorNotification::~CErrorNotification()
{
}


CTimeoutNotification::CTimeoutNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CTimeoutNotification::~CTimeoutNotification()
{
}


CIdleNotification::CIdleNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CIdleNotification::~CIdleNotification()
{
}


CShutdownNotification::CShutdownNotification(CSocketReactor* pReactor) : CSocketNotification(pReactor)
{
}

CShutdownNotification::~CShutdownNotification()
{
}

NET_NAMESPACE_END
